<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Factories\HasFactory;

class DevicePowerLog1 extends BaseModel
{
    use HasFactory;

    public $table = 'device_power_log_copy1';

    public $guarded = [];

    public $casts = [
        'created_at' => 'date:Y-m-d H:i:s'
    ];

    public function device()
    {
        return $this->belongsTo(Device::class);
    }
}
